package com.system.model;

import java.io.Serializable;

public class Inventory implements Serializable {
    private Integer inventoryId;

    private String goodsName;

    private String productPrice;

    private String goodsPrice;

    private String inventoryAmount;

    private String supplierName;

    private String inventoryPeople;

    private String typeName;

    private static final long serialVersionUID = 1L;

    public Integer getInventoryId() {
        return inventoryId;
    }

    public void setInventoryId(Integer inventoryId) {
        this.inventoryId = inventoryId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName == null ? null : goodsName.trim();
    }

    public String getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(String productPrice) {
        this.productPrice = productPrice == null ? null : productPrice.trim();
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice == null ? null : goodsPrice.trim();
    }

    public String getInventoryAmount() {
        return inventoryAmount;
    }

    public void setInventoryAmount(String inventoryAmount) {
        this.inventoryAmount = inventoryAmount == null ? null : inventoryAmount.trim();
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName == null ? null : supplierName.trim();
    }

    public String getInventoryPeople() {
        return inventoryPeople;
    }

    public void setInventoryPeople(String inventoryPeople) {
        this.inventoryPeople = inventoryPeople == null ? null : inventoryPeople.trim();
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", inventoryId=").append(inventoryId);
        sb.append(", goodsName=").append(goodsName);
        sb.append(", productPrice=").append(productPrice);
        sb.append(", goodsPrice=").append(goodsPrice);
        sb.append(", inventoryAmount=").append(inventoryAmount);
        sb.append(", supplierName=").append(supplierName);
        sb.append(", inventoryPeople=").append(inventoryPeople);
        sb.append(", typeName=").append(typeName);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}